<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
    <div class="breadcrumb_wrap">
        <ul class="breadcrumb">
            <li>您的位置：</li>
            <li> <a href="messages_list.html">APP首页轮播图片管理</a> <span class="divider">></span> </li>
            <li class="active">列表</li>
        </ul>
    </div>
    <div class="button_box table_btn_box">
        <button type="button" class="btn btn-primary btn_add" ng-click="addAppPic()"><i class="glyphicon glyphicon-plus"></i>新增</button>
    </div>
    <div class="table-responsive con_list">
        <table class="table table-striped">
            <thead>
                <tr>
                    <th>排序号</th>
                    <th>名称</th>
                    <th>图片缩略图</th>
                    <th>操作</th>
                </tr>
            </thead>
            <tbody>
                <tr ng-repeat="appPic in appPicList">
                    <td>{{appPic.sort}}</td>
                    <td>{{appPic.title}}</td>
                    <td ><img style="height: 50px" ng-src="/dapi/download/getImageIO?imgUrl={{appPic.iconUrl}}" /></td>
                    <td class="ops">
                        <button type="button" class="btn btn-primary"  ng-click="updateAppPic(appPic)">修改</button>
                        <button type="button" class="btn btn-primary del" ng-click="deleteAppPic(appPic.id)" >删除</button>
                    </td>
                </tr>
            </tbody>
        </table>
    </div>
    <div class="page_wrap">
        <div class="text-center scott">
            <uib-pagination  total-items="totalItems" ng-model="currentPage" boundary-links="true" max-size="5"   ng-change="pageChanged()" items-per-page="itemsPerPage" previous-text="&lsaquo;" next-text="&rsaquo;" first-text="&laquo;" last-text="&raquo;"></uib-pagination>
        </div>
    </div>
</div>